package com.crm.po;

import java.sql.Date;


/**
 * Buy entity. @author MyEclipse Persistence Tools
 */

public class Buy  implements java.io.Serializable {


    // Fields    

     private String tid;
     private Date buydate;
     private String goods;
     private Double price;
     private Double amount;
     private Double totalprice;
     private String buycompany;
     private String supplier;
     private String tel;
     private String phone;
     private String address;
     private String buyer;
     private String remark;
     private Long creattime;
     private Long updatetime;
     private String creater;
     private String updater;
     private String CGroup;
     private String islive;


    // Constructors

    /** default constructor */
    public Buy() {
    }

	/** minimal constructor */
    public Buy(String tid, String islive) {
        this.tid = tid;
        this.islive = islive;
    }
    
    /** full constructor */
    public Buy(String tid, Date buydate, String goods, Double price, Double amount, Double totalprice, String buycompany, String supplier, String tel, String phone, String address, String buyer, String remark, Long creattime, Long updatetime, String creater, String updater, String CGroup, String islive) {
        this.tid = tid;
        this.buydate = buydate;
        this.goods = goods;
        this.price = price;
        this.amount = amount;
        this.totalprice = totalprice;
        this.buycompany = buycompany;
        this.supplier = supplier;
        this.tel = tel;
        this.phone = phone;
        this.address = address;
        this.buyer = buyer;
        this.remark = remark;
        this.creattime = creattime;
        this.updatetime = updatetime;
        this.creater = creater;
        this.updater = updater;
        this.CGroup = CGroup;
        this.islive = islive;
    }

   
    // Property accessors

    public String getTid() {
        return this.tid;
    }
    
    public void setTid(String tid) {
        this.tid = tid;
    }

    public Date getBuydate() {
        return this.buydate;
    }
    
    public void setBuydate(Date buydate) {
        this.buydate = buydate;
    }

    public String getGoods() {
        return this.goods;
    }
    
    public void setGoods(String goods) {
        this.goods = goods;
    }

    public Double getPrice() {
        return this.price;
    }
    
    public void setPrice(Double price) {
        this.price = price;
    }

    public Double getAmount() {
        return this.amount;
    }
    
    public void setAmount(Double amount) {
        this.amount = amount;
    }

    public Double getTotalprice() {
        return this.totalprice;
    }
    
    public void setTotalprice(Double totalprice) {
        this.totalprice = totalprice;
    }

    public String getBuycompany() {
        return this.buycompany;
    }
    
    public void setBuycompany(String buycompany) {
        this.buycompany = buycompany;
    }

    public String getSupplier() {
        return this.supplier;
    }
    
    public void setSupplier(String supplier) {
        this.supplier = supplier;
    }

    public String getTel() {
        return this.tel;
    }
    
    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getPhone() {
        return this.phone;
    }
    
    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return this.address;
    }
    
    public void setAddress(String address) {
        this.address = address;
    }

    public String getBuyer() {
        return this.buyer;
    }
    
    public void setBuyer(String buyer) {
        this.buyer = buyer;
    }

    public String getRemark() {
        return this.remark;
    }
    
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Long getCreattime() {
        return this.creattime;
    }
    
    public void setCreattime(Long creattime) {
        this.creattime = creattime;
    }

    public Long getUpdatetime() {
        return this.updatetime;
    }
    
    public void setUpdatetime(Long updatetime) {
        this.updatetime = updatetime;
    }

    public String getCreater() {
        return this.creater;
    }
    
    public void setCreater(String creater) {
        this.creater = creater;
    }

    public String getUpdater() {
        return this.updater;
    }
    
    public void setUpdater(String updater) {
        this.updater = updater;
    }

    public String getCGroup() {
        return this.CGroup;
    }
    
    public void setCGroup(String CGroup) {
        this.CGroup = CGroup;
    }

    public String getIslive() {
        return this.islive;
    }
    
    public void setIslive(String islive) {
        this.islive = islive;
    }

}